package com.xgx.startegy.service.impl;

import com.xgx.startegy.model.OrderDto;
import com.xgx.startegy.service.IOrderService;

public class IOrderServiceImpl implements IOrderService {
    @Override
    public String handle(OrderDto orderDto) {
        String type = orderDto.getType();
        if ("1".equalsIgnoreCase(type)) {
            return "处理普通订单";
        } else if ("2".equalsIgnoreCase(type)) {
            return "处理团购订单";
        } else if ("3".equalsIgnoreCase(type)) {
            return "处理促销订单";
        }
        return null;
    }
}
